<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {% if p.errors %}
        <p>
            数据出错啦，错误信息：{{ v.errors }}
        </p>
    {% else %}
        <form action="" method="post">
        {% csrf_token %}
            <table>
                {{ p.as_table }}
            </table>
            <input type="submit" value="提交">
        </form>
    {% endif %}
</body>
</html>
